package com.yycx.module.bus.client.entity.hy;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yycx.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.yycx.common.mybatis.annotation.TableAlias;
/**
 * 政策职务配置
 *
 * @author flyme
 * @date 2023-08-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_policy_position")
@TableAlias("bpp")
@ApiModel(value="BusPolicyPosition对象", description="政策职务配置")
public class BusPolicyPosition extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "policyPositionId", type = IdType.ASSIGN_ID)
    private Long policyPositionId;

    @ApiModelProperty(value = "药品配置ID")
    private Long policyDrugId;

    @ApiModelProperty(value = "政策ID")
    private Long policyFileId;

    @ApiModelProperty(value = "职务ID")
    private Long positionId;

    @ApiModelProperty(value = "账套ID")
    private Long companyId;

    @ApiModelProperty(value = "结算价取值方式")
    private Integer priceType;


    @ApiModelProperty(value = "结算价")
    private BigDecimal positionPrice;

    @ApiModelProperty(value = "最高加价")
    private BigDecimal makeUpPrice;

    @ApiModelProperty(value = "结算费率")
    private BigDecimal positionRate;

    @ApiModelProperty(value = "开始日期")
    private Date beginDate;

    @ApiModelProperty(value = "结算公式内容")
    private String positionSettleFormula;

    @ApiModelProperty(value = "结束日期")
    private Date endDate;

    @ApiModelProperty(value = "备注")
    private String remark;

}
